export const titles = {
	FacilitIcon:'设施图标',
	FacilitType:'设施类型',
	id: '编号',// id
	projectId: '',// projectId
	projectName: '所属项目',
	buildingName: '所属建筑',
	facilitName: '设施别名',// facilitName
	groupId: '设施分组',// groupId
	groupName:'所属分组',
	position: '位置类型',// position
	buildingId: '所在建筑',// buildingId
	drawingId: '所在楼层',// drawingId
	// insidePosition:'室内位置',
	// outsidePostion:'室外位置',
	place: '所在位置',
	drawingPoint: '图纸标记',// drawingPoints
	markPoint: '地图标记',// mapPoints
	facilitSN: '设施编号',// faciltSN
	faciltType: '设施类型',// faciltType
	dutyUid: '责任人',// dutyUid
	outDate: '出厂日期',// outDate
	expireDate: '过期时间',// expireDate
	fixDate: '安装时间',// fixDate
	scrapDate: '报废日期',// scrapDate
	mainteDate: '维保日期',// mainteDate
	mainteCycle: '维保周期',// mainteCycle
	cycleValue: '周期值',// cycleValue
	productId: '设施类型',
	inspectionMode: '巡检方式',// isInspection
	NFC: 'NFC编号',// NFC
	QR: '二维码编号',
	inspect: '巡检要求',// inspect
	inspectContent: '巡检内容',// inspectContent
	facilitImg: '设施照片',// facilitImg
	createdAt: '添加日期',
	action: '操作',
	isWillExpired:'设施状态',
}
export const prompt = {
	id: '请输入' + titles.id,
	projectName: '请输入' + titles.projectName,
	facilitName: '请输入' + titles.facilitName,
	groupId: '请选择' + titles.groupId,
	position: '请选择' + titles.position,
	buildingId: '请选择' + titles.buildingId,
	drawingId: '请输入' + titles.drawingId,
	drawingPoint:'请输入' + titles.drawingPoint,
	place: '请输入' + titles.place,
	FacilitType:'请输入' + titles.FacilitType,
	markPoint: '请输入' + titles.markPoint,
	facilitSN: '请输入' + titles.facilitSN,
	faciltType: '请选择' + titles.faciltType,
	productId: '请选择' + titles.productId,
	dutyUid: '请选择' + titles.dutyUid,
	outDate: '请输入' + titles.outDate,
	expireDate: '请输入' + titles.expireDate,
	fixDate: '请输入' + titles.fixDate,
	scrapDate: '请输入' + titles.scrapDate,
	mainteDate: '请输入' + titles.mainteDate,
	mainteCycle: '请输入' + titles.mainteCycle,
	cycleValue: '请输入' + titles.cycleValue,
	inspectionMode: '请输入' + titles.inspectionMode,
	NFC: '请输入' + titles.NFC,
	QR: '请输入' + titles.QR,
	inspect: '请输入' + titles.inspect,
	inspectContent: '请输入' + titles.inspectContent,
	facilitImg: '请输入' + titles.facilitImg,
	isWillExpired:'请选择'+titles.isWillExpired,
}
export const defaultSearchForm = () => {
	return {
		drawingId: '',
		projectId: '',
		facilitName: '',// facilitName
		groupId: '',// groupId
		faciltSN: '',// faciltSN
		isWillExpired:null,
		buildingId: '',
		page: 1,
		limit: 10,
	}
}
export const defaultInfoForm = () => {
	return {
		id: null,// id
		projectId: null,// projectId
		facilitName: null,// facilitName
		groupId: null,// groupId
		position: 1,// position
		buildingId: null,// buildingId
		drawingId: null,// drawingId
		drawingPoint: {},// drawingPoints
		markPoint: {},// mapPoints
		facilitSN: null,// faciltSN
		faciltType: null,// faciltType
		dutyUid: null,// dutyUid
		outDate: null,// outDate
		expireDate: null,// expireDate
		fixDate: null,// fixDate
		scrapDate: null,// scrapDate
		mainteDate: null,// mainteDate
		mainteCycle: null,// mainteCycle
		cycleValue: 1,// cycleValue
		inspectionMode: 1,// isInspection
		NFC: null,// NFC
		QR: null,// QR
		inspect: [],// inspect
		inspectContent: null,// inspectContent
		facilitImg: null,// facilitImg
		insidePosition: null,
		outsidePostion: null,
		place: null,
		childrenbuilding:null,
		newORedit:1,
		FacilitType:null
	}
}
